Skip to content

chapter9_part1: /060_Distributed_Search/00_Intro.asciidoc #321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 21, 2016

Conversation

luotitan
Copy link

卷发同学完成翻译,修改以后提交。distributed-search

basic _create-read-update-delete_ (CRUD) requests((("CRUD (create-read-update-delete) operations"))) that we discussed in
<<distributed-docs>>.
在继续之前,我们将绕道讨论一下在分布式环境中搜索是怎么执行的。
((("distributed search execution"))) 这比我们在 <<distributed-docs>> 章节讨论的基本的 _增-删-改-查_ (CRUD)请求要复杂一些。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请求后面漏了 ((("CRUD (create-read-update-delete) operations")))

@medcl
Copy link
Member

medcl commented Oct 17, 2016

LGTM



搜索需要一种更加复杂的执行模型因为我们不知道查询会命中哪些文档: 这些文档有可能在集群的任何分片上。
一个搜索请求必须询问我们关注的索引(index or indices)的所有分片的某个副本来确定它们是否含有任何匹配的文档。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我们关注的索引(index or indices)--》我们关注的单个或多个索引 这样子会不会比较好点?可不改

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不改就行

multiple shards must be combined into a single sorted list before the `search`
API can return a ``page'' of results. For this reason, search is executed in a
two-phase process called _query then fetch_.
但是找到所有的匹配文档仅仅完成事情的一半。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

仅仅完成事情的一半--》仅仅完成了搜索过程的一半 只是觉得有点别扭,可不改

Read this chapter to gain a taste for how things work, and to know where the
information is in case you need to refer to it in the future, but don't be
overwhelmed by the detail.
这章的阅读目的只为初步了解下工作原理,假使将来需要时可以及时找到这些知识,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

假使将来需要时--》以便将来需要时

@tangmisi
Copy link

LGTM

@medcl medcl merged commit a6dc877 into elasticsearch-cn:cn Oct 21, 2016
tangmisi pushed a commit to tangmisi/elasticsearch-definitive-guide that referenced this pull request Oct 31, 2016
…rch-cn#321)

* 卷发同学完成翻译,修改以后提交

* 根据review意见修改
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants